import { createRouter, createWebHashHistory } from 'vue-router'

const Router = createRouter({
	history: createWebHashHistory(),
	routes: [
		{
			path: '/mission/list',
			name: 'MissionList',
            component: () => import('../views/mission/list.vue')
		}, {
			path: '/mission/create',
			name: 'CreateMission',
            component: () => import('../views/mission/create.vue')
		}, {
			path: '/mission/panel/:id',
			name: "Control Panel",
			component: () => import('../views/mission/panel.vue')
		}
	]
})

export default Router;